package com.hamster.crm.service;

import com.hamster.crm.pojo.Project;
import com.hamster.crm.pojo.ProjectCategory;
import com.hamster.crm.pojo.ProjectCourse;
import com.hamster.crm.util.PageResult;

import java.util.List;

/**
 * @author Tarry
 * @create 2019/12/24 14:43
 */
public interface ProjectService {
    List<ProjectCategory> listProjectCategory();

    void insert(Project project);

    Project get(String id);

    void delete(List<String> ids);

    void update(Project project);

    PageResult<Project> listProjects(Integer pageSize, Integer currentPage, String title);

    List<Project> listOptions();

    List<ProjectCourse> listCourse(String id);

    List<Project> getProjectSelect();
}
